/*
 * SocketPlug.h
 *
 *  Created on: 23.10.2011
 *      Author: niea
 */

#ifndef SOCKETPLUG_H_
#define SOCKETPLUG_H_

#include "../ISocket.h"

class SocketPlug: public ISocket {
public:
	SocketPlug();
	virtual ~SocketPlug();

	virtual int connectServer(std::string ip, size_t port);
	virtual int disconnect();
	virtual int sendMessage(std::vector<char> const& msg);
	virtual int receiveMessage(std::vector<char> & msg);
};

#endif /* SOCKETPLUG_H_ */
